package com.wanmait.baohan.mapper;

import com.wanmait.baohan.pojo.BusinessContact;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BusinessContactMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(@Param("businessContact") BusinessContact record);

    int insertSelective(BusinessContact record);

    BusinessContact selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BusinessContact record);

    int updateByPrimaryKey(BusinessContact record);

    List<BusinessContact> selectAllBusinessContactBy(Integer id);

    List<BusinessContact> findAllBy(@Param("bu") BusinessContact businessContact);

    BusinessContact findOneBy(Integer id);
}